import request from '@/utils/request'
import { transFormValue } from '@/utils/tools'

//修改密码接口
export function myChangePassword(data) {
  return request({
    url: '/my/changePassword' + transFormValue(data),
    method: 'post'
  })
}

//获取当前用户接口
export function myInfo(data) {
  return request({
    url: '/my/info' + transFormValue(data),
    method: 'post'
  })
}

